package com.joysuch.wwyt.patrol.entity.bean;

import cn.zlg.common.springmvc.validate.constraints.NotNull;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class PatrolCheckSearchBean {

    @ApiModelProperty(value = "巡检部门")
    private List<Long> checkDepartIds;

    @ApiModelProperty(value = "巡检路线")
    private List<Long> planIds;

    @ApiModelProperty(value = "检查开始日期")
    private Date checkDateStart;

    @ApiModelProperty(value = "检查结束日期")
    private Date checkDateEnd;

    @NotNull(message = "page 不能为空")
    private Integer page;

    @NotNull(message = "size 不能为空")
    private Integer size;
}
